<template>
  <div>
    <router-view />
    <play-controller></play-controller>
  </div>
</template>
<script>
import PlayController from "@/components/common/PlayController.vue";
export default {
  components: {
    PlayController
  },
  mounted() {
    let userData = JSON.parse(localStorage.userData);
    this.$store.commit("setUser", userData);
  }
};
</script>
<style lang="less" scope>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "微软雅黑";
  font-size: 0.3rem;
}

.icon {
  width: 1em;
  height: 1em;
}
a {
  color: #333;
  text-decoration: none;
}
</style>
